package com.gridmobi.xrtb.model.rtb;

import com.gridmobi.xrtb.domain.dsp.common.enums.CreativeTypeE;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;


@EqualsAndHashCode
public class Creative  {
    private String id;

    private Integer w;

    private Integer h;

    private Integer aid;

    private String url;
    private String size;
    private Integer bsize;
    /**
     * @see CreativeTypeE
     */
    private Integer type;
    private String mime ;
    private List<Integer> cids;
    private Integer state;
    private Integer deleteflag;
    private  int impadpos ;
    /**
     * 视频素材的播放时长
     */
    private Integer videoduration =0;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getW() {
        return w;
    }

    public void setW(Integer w) {
        this.w = w;
    }

    public Integer getH() {
        return h;
    }

    public void setH(Integer h) {
        this.h = h;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMime() {
        return mime;
    }

    public void setMime(String mime) {
        this.mime = mime;
    }

    public List<Integer> getCids() {
        return cids;
    }

    public void setCids(List<Integer> cids) {
        this.cids = cids;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getDeleteflag() {
        return deleteflag;
    }

    public void setDeleteflag(Integer deleteflag) {
        this.deleteflag = deleteflag;
    }

    public Integer getVideoduration() {
        return videoduration;
    }

    public void setVideoduration(Integer videoduration) {
        this.videoduration = videoduration;
    }

    public int getImpadpos() {
        return impadpos;
    }

    public void setImpadpos(int impadpos) {
        this.impadpos = impadpos;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public Integer getBsize() {
        return bsize;
    }

    public void setBsize(Integer bsize) {
        this.bsize = bsize;
    }
}